package com.primaryedu.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/2/7.
 */

public class GradelistBean {

    /**
     * result : 1
     * reason : 成功
     * data : {"pageNo":1,"pageSize":10,"count":12,"list":[{"id":"d42d8a68ade24a07afc0a3d5627fb5e7","className":"一年1班","sort":0},{"id":"bf5ea80fc2a1439f8dac5c80f7856a8a","className":"一年2班","sort":1},{"id":"55f38b138b6248998a2d4e849680863c","className":"二年1班","sort":2},{"id":"1fa30eb5b8074da4a8b17116de0d8290","className":"二年2班","sort":3},{"id":"c50c991983194d8881450aecb38c6eb5","className":"三年1班","sort":4},{"id":"0c7683f95f8d4d60b849c5eeebdebc6f","className":"三年2班","sort":5},{"id":"ab67c73e07ff4e29aba6ffe25608f901","className":"四年1班","sort":6},{"id":"7a051f14c2894227a2578543950fd392","className":"四年2班","sort":7},{"id":"2cd662a10ca645a28fbb01470cb2cfde","className":"五年1班","sort":8},{"id":"6e3c9325379b4d90b34d92a5da8b74ca","className":"五年2班","sort":9}],"totalPage":2}
     */

    private int result;
    private String reason;
    private DataBean data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * pageNo : 1
         * pageSize : 10
         * count : 12
         * list : [{"id":"d42d8a68ade24a07afc0a3d5627fb5e7","className":"一年1班","sort":0},{"id":"bf5ea80fc2a1439f8dac5c80f7856a8a","className":"一年2班","sort":1},{"id":"55f38b138b6248998a2d4e849680863c","className":"二年1班","sort":2},{"id":"1fa30eb5b8074da4a8b17116de0d8290","className":"二年2班","sort":3},{"id":"c50c991983194d8881450aecb38c6eb5","className":"三年1班","sort":4},{"id":"0c7683f95f8d4d60b849c5eeebdebc6f","className":"三年2班","sort":5},{"id":"ab67c73e07ff4e29aba6ffe25608f901","className":"四年1班","sort":6},{"id":"7a051f14c2894227a2578543950fd392","className":"四年2班","sort":7},{"id":"2cd662a10ca645a28fbb01470cb2cfde","className":"五年1班","sort":8},{"id":"6e3c9325379b4d90b34d92a5da8b74ca","className":"五年2班","sort":9}]
         * totalPage : 2
         */

        private int pageNo;
        private int pageSize;
        private int count;
        private int totalPage;
        private List<ListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : d42d8a68ade24a07afc0a3d5627fb5e7
             * className : 一年1班
             * sort : 0
             */

            private String id;
            private String className;
            private int sort;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getClassName() {
                return className;
            }

            public void setClassName(String className) {
                this.className = className;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }
        }
    }
}
